home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
VRML 2.0 Sourcebook (2nd Edition)
/
VRML 2.0 Sourcebook CD [md5 fed90f4f9c39d5a60d477058775c7e21].iso
/
book
/
unix
/
ch31
/
31fig05.wrl
< prev
next >
Wrap
Text File
|
1996-09-23
|
646b
|
34 lines
#VRML V2.0 utf8
# The VRML 2.0 Sourcebook
# Copyright [1997] By
# Andrea L. Ames, David R. Nadeau, and John L. Moreland
EXTERNPROTO DarkOak [
exposedField SFNode textureTransform
] "applib.wrl#DarkOak"
EXTERNPROTO LightOak [
exposedField SFNode textureTransform
] "applib.wrl#LightOak"
Group {
children [
Transform { translation -1.5 0.0 0.0
children Shape {
appearance DarkOak { }
geometry Box { }
}
},
Transform { translation 1.5 0.0 0.0
children Shape {
appearance LightOak {
textureTransform TextureTransform {
translation 0.5 0.0
scale 2.0 1.0
}
}
geometry Box { }
}
}
]
}